// import RouterView from "@/components/MyRouterView/index.vue";
import nav001 from "./navRoutes/nav001.js";
import nav002 from "./navRoutes/nav002.js";
import nav003 from "./navRoutes/nav003.js";
import tool from "./navRoutes/tool.js";
// 注册路由需要的导航
const routes = [
  {
    path: "/",
    name: "index",
    redirect:'/nav001',
    component: () => import("@/views/home.vue"),
  },
];

const silderBar = [...nav001, ...nav002,...nav003,...tool];

routes.push(...silderBar);

export { routes, silderBar };
